package com.pkdl.dto;

// Data transfer object which is associated with Thuoc table in database
public class ThuocDTO {

	private int maThuoc;
	private String donViTinh;
	private String tenThuoc;
	private long gia;
	private String quiCach;
	private String hamLuong;
	private String cachDung;

	public ThuocDTO() {
		this.maThuoc = 0;
		this.donViTinh = "";
		this.tenThuoc = "";
		this.gia = 0;
		this.quiCach = "";
		this.hamLuong = "";
		this.cachDung = "";
	}

	public ThuocDTO(int mathuoc, String donvitinh, String tenthuoc, long gia,
			String quicach, String hamluong, String cachdung) {
		this.maThuoc = mathuoc;
		this.donViTinh = donvitinh;
		this.tenThuoc = tenthuoc;
		this.gia = gia;
		this.quiCach = quicach;
		this.hamLuong = hamluong;
		this.cachDung = cachdung;
	}

	public ThuocDTO(String donvitinh, String tenthuoc, long gia,
			String quicach, String hamluong, String cachdung) {
		this.donViTinh = donvitinh;
		this.tenThuoc = tenthuoc;
		this.gia = gia;
		this.quiCach = quicach;
		this.hamLuong = hamluong;
		this.cachDung = cachdung;
	}

	public String getCachDung() {
		return this.cachDung;
	}

	public String getDonViTinh() {
		return this.donViTinh;
	}

	public long getGia() {
		return this.gia;
	}

	public String getHamLuong() {
		return this.hamLuong;
	}

	public int getMaThuoc() {
		return this.maThuoc;
	}

	public String getQuiCach() {
		return this.quiCach;
	}

	public String getTenThuoc() {
		return this.tenThuoc;
	}

	public void setCachDung(String cachDung) {
		this.cachDung = cachDung;
	}

	public void setDonViTinh(String donViTinh) {
		this.donViTinh = donViTinh;
	}

	public void setGia(long gia) {
		this.gia = gia;
	}

	public void setHamLuong(String hamLuong) {
		this.hamLuong = hamLuong;
	}

	public void setMaThuoc(int maThuoc) {
		this.maThuoc = maThuoc;
	}

	public void setQuiCach(String quiCach) {
		this.quiCach = quiCach;
	}

	public void setTenThuoc(String tenThuoc) {
		this.tenThuoc = tenThuoc;
	}

}
